package com.aspose.cells;

class zbys extends zcdb {
   zbys(zbqw var1) {
      this.d = 1165;
      this.c = new byte[15];
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.b()), 0, this.c, 4, 2);
      if ((var1.b() & '\uffff') == 65534) {
         this.c[6] = -1;
         this.c[7] = -1;
      }

      if (var1.c != null) {
         System.arraycopy(com.aspose.cells.b.a.zc.a(var1.c.size()), 0, this.c, 8, 4);
      }

      short var2 = 0;
      if (!var1.q) {
         var2 = (short)(var2 | 1);
      }

      if (var1.e) {
         var2 = (short)(var2 | 2);
      }

      if (var1.f) {
         var2 = (short)(var2 | 4);
      }

      if (var1.g) {
         var2 = (short)(var2 | 8);
      }

      if (var1.h) {
         var2 = (short)(var2 | 16);
      }

      if (var1.i) {
         var2 = (short)(var2 | 32);
      }

      if (var1.j) {
         var2 = (short)(var2 | 64);
      }

      if (var1.k) {
         var2 = (short)(var2 | 128);
      }

      if (var1.l) {
         var2 = (short)(var2 | 256);
      }

      if (var1.m) {
         var2 = (short)(var2 | 512);
      }

      if (var1.n) {
         var2 = (short)(var2 | 1024);
      }

      if (var1.o) {
         var2 = (short)(var2 | 2048);
      }

      if (var1.p) {
         var2 = (short)(var2 | 4096);
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var2), 0, this.c, 12, 2);
      byte var3 = 0;
      if (var1.c()) {
         var3 = (byte)(var3 | 1);
      }

      this.c[14] = var3;
   }
}
